<div class="well clearfix">
	<h2><?= lang('segment_'.$segment); ?></h2>
	<form class="form-horizontal pull-left" method="post" action="<?=base_url();?>project/">
		<div class="control-group">
			<label class="control-label"><?= lang('brief_final_file'); ?>*</label>
			<div class="controls">
					<?php
					$query = $this->db->get('file_type');
					foreach ($query->result() as $row){
						echo '<input type="checkbox" name="file_type[]" value="'.$row->id_file_type.'"> '.$row->nm_type.'</input><br/>';
					}
					?>	
			</div>
		</div>
		<input type="hidden" name="segment" id="segment" value="<?=$this->uri->segment(3, 0);?>" />
		<div class="control-group">
			<label class="control-label"><?= lang('brief_project_title'); ?>*</label>
			<div class="controls">
				<input type="text" name="project_title" id="inputTitle" placeholder="<?= lang('brief_project_title_info'); ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label"><?= lang('brief_project_investment') . ' - ' .lang('sg_currency'); ?>*</label>
			<div class="controls">
				<input type="number" name="value" min="200" placeholder="<?= lang('brief_project_investment_min'); ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label"><?= lang('brief_project_description'); ?>*</label>
			<div class="controls">
				<textarea rows="4" cols="" name="description"></textarea>
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label""><?= lang('brief_project_main_color'); ?></label>
			<div class="controls">
				<input name="color" type="color">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label"><?= lang('brief_project_identify'); ?></label>
			<div class="controls">
			<label class="radio">
				<input type="radio" name="identify" id="optionsRadios1" value="1" checked>Sim
			</label>
			<label class="radio">
				<input type="radio" name="identify" id="optionsRadios1" value="0">Não
			</label>
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label"><?= lang('brief_project_final_date'); ?>*</label>
			<div class="controls">
				<input type="date" name="end_date" min="<?=date('Y-m-d', time());?>" class="col-md-3"><br/><br/>
				<input type="submit" class="btn btn-success" value="<?= lang('brief_project_create'); ?>">
			</div>
		</div>
		
		
		
	</form>
	<img alt="banner" src="<?=base_url();?>assets/img/banners/banner2.jpg" class="pull-right img-polaroid">
</div>